tbipat_summary.aspx.cs
Code Type: C# Codebehind Class for ASP .NET Page
Uses Classes: CCPA, CMDWSOps, CPWEvent, CTemplate, CDataConverter, }, CInstrumentResponse, StringBuilder, XslCompiledTransform, List<object>


Lines of Code: 775

public string PatPWEventID

	 Selected patient pathway event id 

public string PatPWID

	 Selected patient pathway event id 

public string SelectedPathways

	currently selected pathways 

public bool InitializeNote(string strPatPWEventID)

	Initialize the note 

protected void LoadNote(string strPatPWEventID)

	   load the note 

public void OnTIUNoteConfirm()

	  Show confirm 

protected void OnEventDelete(object sender, DirectEventArgs e)

	  commit the note to tiu 

public object CommitEventNote()

	  commit the note to tiu 

public void OnEventNoteSave()

	 save note progress, used while the note is being written but before it is commited 

public void OnTemplateSave()

	  Load note template select 

public void OnTemplateCancel()

	  cancel note template select 

public void LoadNoteTemplate(string strTemplateID)

	  Load note template selected 

protected void Page_Load(object sender, EventArgs e)

	       page load of the patient summary screen 

public void OnShowAddEventInstrument()

	 show the add instrument dialog 

public void OnShowRemoveEventInstrument()

	 show the add instrument dialog 

public void OnShowEventEdt(int nType)

	 show the add instrument dialog 

public void OnShowEventDel()

	 show the delete event dialog 


[DirectMethod(ShowMask = true, Msg = "<span role='alert'>Please wait.</span>")]
 public void OnShowNoteSelection()

    show the note selection dialog
	 

public void OnShowApplyPathway()

	show the apply pathway dialog 

public void RenderAllPWEvents()

    	renders all events for the newest pathway

public void RenderNewestPathwayEvents()

	Renders all pathways events associated to a patient 

public string LoadPathway(string strPW)

	Render the filtered PW Evts nodes 

public void OnPathwaySelect(string strJsonRecord)
	 

public void OnPathwaySelect(long lPatPWID, bool bHideTabs)
	 

public string GetFilteredPWEvt(string strPW) 

	Render the filtered PW Evts nodes 


public long ReloadPWEvtNodes()

	Reload the events nodes 

protected Ext.Net.NodeCollection GetPWEventNodes(string strSelectedPW)

	Gets all pathwways event nodes associated to a patient 

public void LoadPatPathwaysList()

	Loads a list of patient pathways for the selected Clinical Program Area 

public void GetAllPatPWEvtModules()

	Gets all the patient instruments 

public ucTBICDSInstrument.InstrumentOptions LoadInstrument(long lMID, long lIntakeID, long lPatPWEventModuleID, bool bReadOnly)

	 Renders the instrument in the instrument's tab 

public object ShowInstrumentReport(string strPatientID, long lMID, long lIntakeID, long lFilter)

	 Renders and shows the completed instrument report on screen 

protected void ToCsv(object sender, EventArgs e)

	 Converts the instrument data to CSV format 

private string CSVString(string strValue)

	Clear any HTML tag from the string and makes it CSV compatible. 

protected void ToExcel(object sender, EventArgs e)

	 Converts the instrument data to Excel spreadsheet format 

protected string GetReportJSON()

	 Convert/Re-format the instrument_json session var 

	

